package net.xuele.learn.base;

import org.junit.Test;



/**
 * Created by huanghao（HIKARI） on 2019/7/4 0004.
 */
public class TestPeople {
    @Test
    public void fun() {
        People people = new People();
        setAge(people);
        System.out.println(people);
    }

    private void setAge(People people) {
        finalSet(people);
    }

    private void finalSet(People people) {
        people.setAge(24);
        people.setName("hh");
    }
}
